/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-02-03
 * Time: 15:22
 */
public class Test {
    public static void main(String[] args) {
        int a = 1;
        for (int i = 0; i < 5; i++) {
            System.out.println(a++);
        }
    }
            public static void main1(String[] args) {
                int a = -2;
        //10000000000000000000000000000010
        //11111111111111111111111111111101
        //11111111111111111111111111111110
        //00000000000000000000000000000001
        int b = ~a;
        System.out.println(b);
    }
}
